#ifndef SPRITE_H
#define SPRITE_H

#include <SDL.h>
#include <string>

class Graphics;

class Sprite
{
public:
	Sprite();
	Sprite(Graphics &G, const std::string &FilePath, int SourceX, int SourceY, int Width, int Height, float PosX, float PosY);
	virtual ~Sprite();
	virtual void Update();
	void Draw(Graphics &G, SDL_RendererFlip SRL);
	float X, Y, Angle;
	SDL_Point Center;
	SDL_Texture* Tex;
	SDL_Rect SourceRect;
protected:
	
};

#endif